from numpy import matrix

##  Represents a sensor. Contains data such as ID, name, calibrated and non-calibrated position and rotation matrices.
class Sensor:

    ##  The constructor of Sensor.
    def __init__(self, ID, name="undefined", position=[], rotation=[]):
        ##  The ID of the sensor.
        self.ID = ID
        ##  The name of the sensor.
        self.name = name
        ##  The position matrix or matrices for each frame of the sensor.
        self.position = position
        ##  The rotation matrix or matrices for each frame of the sensor.
        self.rotation = rotation
        ##  Uncalibrated positions.
        self.rawPosition = []
        ##  Uncalibrated rotations.
        self.rawRotation = []
